package com.aynu.admin.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.core.io.Resource;
import org.springframework.stereotype.Component;

import java.time.Duration;

@Data
@Component
@ConfigurationProperties(prefix = "custom.auth.jwt-conf")
public class JWTProperties {
    private Resource location;
    private String password;
    private String alias;
    private Duration tokenLifetime=Duration.ofMinutes(10);
}
